package com.hx.entity;
import java.io.Serializable;
public class MobileCard implements Serializable {
    private String Cardnumber;
    private String userName;
    private String passWord;
    private double ConsumAmont;
    private double Monery;
    private int RealTalkTime;
    private int RealSMSCount;
    private int RealFlow;
    public MobileCard(String Cardnumber, String userName, String passWord, double Monery, ServicePackage SerPackage) {
        this.Cardnumber = Cardnumber;
        this.userName = userName;
        this.passWord = passWord;
        this.Monery = Monery;
        this.serPackage = SerPackage;
    }
    public MobileCard(String Cardnumber, String userName, String passWord, ServicePackage serPackage,
                      double ConsumAmout, double Money, int RealTakTime, int RealSMSCount, int RealFlow) {
        this.Cardnumber = Cardnumber;
        this.userName = userName;
        this.passWord = passWord;
        this.serPackage = serPackage;
        this.ConsumAmont = ConsumAmout;
        this.Monery = Money;
        this.RealTalkTime = RealTakTime;
        this.RealSMSCount = RealSMSCount;
        this.RealFlow = RealFlow;
    }
    private ServicePackage serPackage;
    public MobileCard() {
    }
    public String getUserName() {
        return userName;
    }
    public void setUserName(String userName) {
        this.userName = userName;
    }
    public String getPassWord() {
        return passWord;
    }
    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }
    public double getConsumAmont() {
        return ConsumAmont;
    }
    public void setConsumAmont(double consumAmont) {
        this.ConsumAmont = consumAmont;
    }
    public double getMonery() {
        return Monery;
    }
    public void setMonery(double Monery) {
        this.Monery = Monery;
    }
    public int getRealTalkTime() {
        return RealTalkTime;
    }
    public void setRealTalkTime(int RealTalkTime) {
        this.RealTalkTime = RealTalkTime;
    }
    public int getRealSMSCount() {
        return RealSMSCount;
    }
    public void setRealSMSCount(int RealSMSCount) {
        this.RealSMSCount = RealSMSCount;
    }
    public int getRealFlow() {
        return RealFlow;
    }
    public void setRealFlow(int realFlow) {
        this.RealFlow = realFlow;
    }
    public ServicePackage getSerPackage() {
        return serPackage;
    }
    public void showMeg() {
        System.out.println("卡号:"+this.getCardnumber()+"用户名:"+this.getUserName()+"当前余额:"+this.getMonery()+"元");
    }
    public void setSerPackage(ServicePackage serPackage) {
        this.serPackage=serPackage;
    }
    public String getCardnumber() {
        return Cardnumber;
    }

    public void setCardnumber(String Cardnumber) {
        this.Cardnumber = Cardnumber;
    }



}